import request from '@/utils/request'

// 登录
export const login = (data) => request.post('/login', data)

// 获取用户信息
export const getUserInfo = () => request.get('/user/info')

// 退出
export const logout = () => request.post('/logout')